﻿@model PraiseSystem.Models.User

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <title>Login</title>
</head>
<body>
    <div class="panel panel-success">
        <div class="panel-heading text-center"><h2>Login</h2></div>
        <div class="panel-body">
            @using (Html.BeginForm())
            {
                @Html.ValidationSummary()
                <div>
                    <div class="form-group">
                        <label>Your email:</label>
                        @Html.TextBoxFor(x => x.Email, new { @class="form-control"})
                    </div>
                    <div class="form-group">
                        <label>Your password:</label>
                        @Html.TextBoxFor(x => x.PassWord, new { @class = "form-control" })
                    </div>
                    <div>
                        <input type="submit" value="PS Login" class="btn btn-success" />
                    </div>
                </div>
            }
        </div>
    </div>
</body>
</html>
